package de.thw.web.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import de.thw.web.dao.WebsiteDAO;
import de.thw.web.model.Website;

@Repository("WebsiteDAO")
@Transactional
public class WebsiteDAOImpl extends AbstractDAOImpl<Website> implements
		WebsiteDAO {

	public Website load(String uid) {
		return super.load(Website.class, uid);
	};

	public List<Website> getAll() {
		return super.getAll("Website");
	};

};